# $Id: PKGBUILD 60101 2011-12-05 05:18:09Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>

pkgname=xpad
pkgver=4.1
pkgrel=1
pkgdesc="Stickies-like notes program"
arch=(i686 x86_64)
depends=('gtk2' 'libsm' 'librsvg')
makedepends=('intltool')
url="http://mterry.name/xpad/"
license=('GPL')
install=xpad.install
source=(http://launchpad.net/xpad/trunk/$pkgver/+download/xpad-$pkgver.tar.bz2
	xpad-gtk-2.20.patch)
md5sums=('e37bfbe2331d810124c28150fdf30b3f'
         '6a3d2952b469d65ec333714991ba8284')

build() {
  cd $srcdir/$pkgname-$pkgver
#  patch -p1 <$srcdir/xpad-gtk-2.20.patch
  ./configure --prefix=/usr
  /usr/bin/make
  /usr/bin/make DESTDIR=$pkgdir install
}
